FROM openjdk:17

EXPOSE 8085

ADD library-admin-pro-0.0.1-SNAPSHOT.jar root.jar
RUN bash -c 'touch /root.jar'

ENTRYPOINT ["java", "-jar", "-Duser.timezone=Asia/Shanghai", "/root.jar", "--spring.profiles.active=test"]